package cn.com.yx.ms.persistence;

import cn.com.yx.ms.domain.RepairLogModel;
import cn.com.yx.ms.domain.dbmodel.RepairLog;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 报修相关DB操作接口
 */
@Repository
public interface RepairLogMapper {

    int insert(RepairLog repairLog);

    int insertSelective(RepairLog repairLog);

    List<RepairLog> findAllRepairLog(RepairLog repairLog);

    int delRepairLog(String guid);

    int delAllRepairLog(RepairLogModel model);

    List<RepairLogModel> autoRepairCheck();
}
